package com.csproj.basic.service.mapper;

import com.csproj.basic.domain.ElectronicLockMessage;
import com.csproj.basic.service.dto.ElectronicLockMessageDTO;
import com.csproj.siiat.service.mapper.EntityMapper;
import org.mapstruct.Mapper;

/**
 * Mapper for the entity ElectronicLockMessage and its DTO ElectronicLockMessageDTO.
 */
@Mapper(componentModel = "spring", uses = {})
public interface ElectronicLockMessageMapper extends EntityMapper<ElectronicLockMessageDTO, ElectronicLockMessage> {
    default ElectronicLockMessage fromId(String id) {
        if (id == null) {
            return null;
        }
        ElectronicLockMessage electronicLockMessage = new ElectronicLockMessage();
        electronicLockMessage.setId(id);
        return electronicLockMessage;
    }
}
